<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<div id="oRaceDiv">
    <table>
        <tr>
            <td><s:property value="%{getText('eventId')}"/></td>
            <td><s:property value="eventId"/></td>
        </tr>
        <tr>
            <td><s:property value="%{getText('distance')}"/></td>
            <td><input type="text" id="distance" size="30"/></td>
        </tr>
        <tr>
            <td><s:property value="%{getText('duration')}"/></td>
            <td><input type="text" id="duration" size="30"/></td>
        </tr>
        <tr>
            <td><s:property value="%{getText('average_pulse')}"/></td>
            <td><input type="text" id="average_pulse" size="30"/></td>
        </tr>
        <tr>
            <td><s:property value="%{getText('max_pulse')}"/></td>
            <td><input type="text" id="max_pulse" size="30"/></td>
        </tr>
        <tr>
            <td><s:property value="%{getText('min_pulse')}"/></td>
            <td><input type="text" id="min_pulse" size="30"/></td>
        </tr>
        <tr>
            <td><s:property value="%{getText('climb')}"/></td>
            <td><input type="text" id="climb" size="30"/></td>
        </tr>
        <tr>
            <td><s:property value="%{getText('controlsCount')}"/></td>
            <td><input type="text" id="controls_count" size="30"/></td>
        </tr>
        <tr>
            <td><s:property value="%{getText('mapLink')}"/></td>
            <td><input type="text" id="map_link" size="30"/></td>
        </tr>
        <tr>
            <td><s:property value="%{getText('description')}"/></td>
            <td><textarea id="description" cols="30" rows="5"></textarea></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <div onclick="saveProperRace('ORace')">Save o-race</div>
            </td>
        </tr>
    </table>
</div>